package org.dromara.business.service;


import org.dromara.business.domain.vo.TransactionInfoVO;

import java.math.BigDecimal;
import java.util.List;

public interface BlockchainService {

    TransactionInfoVO getTransactionByHash(String txHash);

    TransactionInfoVO getTransactionWithReceipt(String txHash);

//    BlockchainTransaction saveTransaction(TransactionRequest request);
//
//    List<BlockchainTransaction> getUserTransactions(Long userId);
//
//    List<BlockchainTransaction> getStakingTransactions(Long stakingId);

    BigDecimal getEthBalance(String address);

    Long getBlockNumber();

    String getNetworkInfo();

    Boolean isContractAddress(String address);

    Integer getTransactionConfirmations(String txHash);
}
